# coding: utf-8

# Load the rails application
require File.expand_path('../application', __FILE__)

# Rails.env = 'production'

# Initialize the rails application
Ttbiji::Application.initialize!
ActiveRecord::Base.establish_connection(Rails.application.config.database_configuration[Rails.env || 'development'])


# 全局变量
SITE_NAME = '天天笔记'
SITE_URL = 'www.ttbiji.com'